package com.khyr.feign;

import com.khyr.entity.ChargeItem;
import com.khyr.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "services-accountant")
public interface DrugStatisticsFeign {
    @GetMapping("/accountant/DrugStatistics/selectAllByCoId")
    public R<List<ChargeItem>> selectAllByCoId(@RequestParam String coId);
}
